# .bashrc

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

sdc() {
    sdcv -n --utf8-output --color "$@" 2>&1 | fold --width=$(tput cols) | less -FRX
}

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

export PATH=$PATH:~/bin
export XDG_RUNTIME_DIR=/tmp/xdg-runtime-$(id -u)
mkdir -p $XDG_RUNTIME_DIR

export XKB_DEFAULT_LAYOUT=us,ru
#export XKB_DEFAULT_OPTIONS=grp:win_space_toggle
export XKB_DEFAULT_OPTIONS=grp:caps_select
export EDITOR=nvim
